#pragma once

class CtrlButton: public ICtrl, public ICtrlBasicGfx, public ICtrlTextSupport
{
public:
	CtrlButton(ICtrl* parent, const std::string& name);
	~CtrlButton();

	/*-ICtrl--------------------------------------------------------------------*/
	void Draw();
	void ReadSpecials(std::ifstream& file, const std::string& firstWord);
	void OnLMBClick(const glm::vec2& clickPosition);

	/*-ICtrlBasicGfx------------------------------------------------------------*/

	/*-ICtrlTextSupport---------------------------------------------------------*/

	/*--------------------------------------------------------------------------*/

	void SetCommand(const std::string& command);
	const std::string& GetCommand() const;

private:
	std::string m_cmd;
};